package com.beamfield.dao.steelplant;

import com.beamfield.model.BeamLocationMapping;
import com.beamfield.model.BeamLocationMappingExample;
import com.beamfield.model.BeamLocationMappingKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BeamLocationMappingMapper {
    int countByExample(BeamLocationMappingExample example);

    int deleteByExample(BeamLocationMappingExample example);

    int deleteByPrimaryKey(BeamLocationMappingKey key);

    int insert(BeamLocationMapping record);

    int insertSelective(BeamLocationMapping record);

    List<BeamLocationMapping> selectByExample(BeamLocationMappingExample example);

    BeamLocationMapping selectByPrimaryKey(BeamLocationMappingKey key);

    int updateByExampleSelective(@Param("record") BeamLocationMapping record, @Param("example") BeamLocationMappingExample example);

    int updateByExample(@Param("record") BeamLocationMapping record, @Param("example") BeamLocationMappingExample example);

    int updateByPrimaryKeySelective(BeamLocationMapping record);

    int updateByPrimaryKey(BeamLocationMapping record);

    BeamLocationMapping selectByBeamCode(@Param("code") String code, @Param("beamId") Long beamId);

    BeamLocationMapping selectByModelId(@Param("bimId") String bimId,@Param("beamId") String beamId);
}
